# docker build -t swr.cn-central-221.ovaijisuan.com/wair/qwen1.8b:infer  .
FROM qwenllm/qwen:cu117

USER root

WORKDIR /data/shared/Qwen/

RUN apt update && apt install net-tools
RUN  pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple  flask requests gunicorn gevent

COPY launch.sh /data/shared/Qwen/launch.sh
COPY app.py /data/shared/Qwen/app.py

RUN chmod 777 /data/shared/Qwen/launch.sh /data/shared/Qwen/app.py


CMD ["bash","-c","/data/shared/Qwen/launch.sh"]